package com.ssm.service.impl;

import com.ssm.pojo.AppCategory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ssm.repository.AppCategoryMapper;
import com.ssm.service.AppCategoryServiceDao;

import java.util.List;

@Service
public class AppCategoryServiceImpl  implements AppCategoryServiceDao{
	@Autowired
	private AppCategoryMapper AppCategoryMapper;

	@Override
	public List<AppCategory> selectByPId(String parentId) {
		return AppCategoryMapper.selectByPId(parentId);
	}

	@Override
	public List<AppCategory> selectByTTPId(String parentId) {
		return AppCategoryMapper.selectByTTPId(parentId);
	}
}
